package com.tadpole.music.bean.home;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/12/10
 */
public class ClockInRecordBean {

    /**
     * code : 200
     * data : {"logs":{"logs":[10],"month":12},"sign":{"id":3,"created_at":"2020-12-10 09:03:38","updated_at":"2020-12-10 09:03:38","user_id":1,"continue_sign_days":0,"total_sign_days":1}}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * logs : {"logs":[10],"month":12}
         * sign : {"id":3,"created_at":"2020-12-10 09:03:38","updated_at":"2020-12-10 09:03:38","user_id":1,"continue_sign_days":0,"total_sign_days":1}
         */

        private LogsBean logs;
        private SignBean sign;
        private int points;
        private int sign_points;
        private boolean signed;

        public DataBean(LogsBean logs, SignBean sign,int points,int sign_points,boolean signed) {
            this.logs = logs;
            this.sign = sign;
            this.points = points;
            this.sign_points = sign_points;
            this.signed= signed;
        }

        public int getPoints() {
            return points;
        }

        public void setPoints(int points) {
            this.points = points;
        }

        public int getSign_points() {
            return sign_points;
        }

        public void setSign_points(int sign_points) {
            this.sign_points = sign_points;
        }

        public boolean isSigned() {
            return signed;
        }

        public void setSigned(boolean signed) {
            this.signed = signed;
        }

        public LogsBean getLogs() {
            return logs;
        }

        public void setLogs(LogsBean logs) {
            this.logs = logs;
        }

        public SignBean getSign() {
            return sign;
        }

        public void setSign(SignBean sign) {
            this.sign = sign;
        }

        public static class LogsBean {
            /**
             * logs : [10]
             * month : 12
             */

            private int month;
            private List<Integer> logs;

            public LogsBean(int month, List<Integer> logs) {
                this.month = month;
                this.logs = logs;
            }

            public int getMonth() {
                return month;
            }

            public void setMonth(int month) {
                this.month = month;
            }

            public List<Integer> getLogs() {
                return logs;
            }

            public void setLogs(List<Integer> logs) {
                this.logs = logs;
            }
        }

        public static class SignBean {
            /**
             * id : 3
             * created_at : 2020-12-10 09:03:38
             * updated_at : 2020-12-10 09:03:38
             * user_id : 1
             * continue_sign_days : 0
             * total_sign_days : 1
             */

            private int id;
            private String created_at;
            private String updated_at;
            private int user_id;
            private int continue_sign_days;
            private int total_sign_days;

            public SignBean(int id, String created_at, String updated_at, int user_id, int continue_sign_days, int total_sign_days) {
                this.id = id;
                this.created_at = created_at;
                this.updated_at = updated_at;
                this.user_id = user_id;
                this.continue_sign_days = continue_sign_days;
                this.total_sign_days = total_sign_days;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getContinue_sign_days() {
                return continue_sign_days;
            }

            public void setContinue_sign_days(int continue_sign_days) {
                this.continue_sign_days = continue_sign_days;
            }

            public int getTotal_sign_days() {
                return total_sign_days;
            }

            public void setTotal_sign_days(int total_sign_days) {
                this.total_sign_days = total_sign_days;
            }
        }
    }
}
